package com.xiaoyun.service;


import com.xiaoyun.bo.UserBO;
import com.xiaoyun.pojo.Users;

import java.util.Optional;

public interface UserService {

    boolean queryUsernameIsExist(String username);

    Users createUser(UserBO userBO);


    Optional<Users> queryUserForLogin(String username, String md5Password);
}
